package com.zyz.C_数组;

/**
 * @author: vick
 * @Date: 2025/3/13
 * @Description:
 * @version: 1.0
 */
public class Demo3 {
    public static void main(String[] args) {
        //长度为5
        int[] nums = new int[3];
        nums[0] = 11;
        nums[1] = 22;
        nums[2] = 33;
        //nums[3] = 44;
        for (int i = 0; i <= nums.length; i++) {
            System.out.println(nums[i]);
        }
    }
}
